/*
 * stdafx.h
 *
 *  Created on: Jul 28, 2013
 *      Author: lxzhu
 */

#ifndef STDAFX_H_
#define STDAFX_H_
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>

typedef GLfloat* (*transform)(GLfloat*);

void drawTriangle(GLfloat *a,
		GLfloat *b,
		GLfloat *c,
		int type,
		transform transformCallback
		);
void divideTriangle(GLfloat* a,
		GLfloat* b,
		GLfloat* c,
		int level,
		int type,
		transform transformCallback);
void onInit();
void onDraw();


#endif /* STDAFX_H_ */
